/**
 * 该路由是否为多级路由
 * @param {boolean} isMultistage
 */
// activePath 三级路由页面，二级路由高亮

export default [{ //门户管理子系统
    path: 'portal',
    name: 'portal',
    authName: 'portal',
    txtName: '门户管理子系统',
    component: {
      template: '<zh-menu-nav />'
    },
    children: [{ // 平台管理
        path: 'platform',
        name: 'platform',
        authName: 'platform',
        txtName: '平台管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [
          //   { // 浏览器设置
          //   path: 'setting',
          //   name: 'setting',
          //   txtName: '浏览器设置',
          //   component: {
          //     template: '<zh-browser />'
          //   },
          // },
          { // 平台SEO
            path: 'info',
            name: 'info',
            txtName: '平台SEO',
            component: {
              template: '<zh-platform />'
            },
          },
        ]
      },
      { //展现管理
        path: 'show',
        name: 'show',
        authName: 'show',
        txtName: '展现管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //装扮管理
            path: 'dress-up',
            name: 'dress-up',
            activePath: ['newNotice'],
            txtName: '装扮管理',
            component: {
              template: '<zh-dress-up />'
            },
            children: [

            ]
          },
          { //添加公告
            path: 'newNotice/:id?',
            name: 'newNotice',
            showLeft: false,
            component: {
              template: '<zh-newNotice />'
            },
          },
          { //场景管理
            path: 'version-management',
            name: 'version-management',
            activePath: ['versionManagement'],
            txtName: '场景管理',
            component: {
              template: '<zh-version-management />'
            },
          },
        ]
      },
      { //敏感词管理-敏感词列表
        path: 'content',
        name: 'content',
        authName: 'content',
        txtName: '内容管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //敏感词管理-敏感词列表
            path: 'sensitive',
            name: 'sensitive',
            txtName: '敏感词管理',
            component: {
              template: '<zh-sensitive />'
            },
            children: [{ //敏感词内容审核
              path: 'content',
              name: 'content-sub',
              component: {
                template: '<zh-sensitive-content />'
              },
            }]
          },
          {
            path: 'report-management',
            name: 'report-management',
            txtName: '举报管理',
            component: {
              template: '<zh-report-management />'
            },
            children: []
          }
        ]
      },
      { //帮助中心管理
        path: 'help',
        name: 'help',
        authName: 'help',
        txtName: '帮助中心管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //常见问题管理
            path: 'common-problem',
            name: 'common-problem',
            activePath: ['add-question'],
            txtName: '常见问题管理',
            component: {
              template: '<zh-common-problem />'
            },

          },
          { //操作手册管理
            path: 'operation-manual',
            name: 'operation-manual',
            activePath: ['add-manual'],
            txtName: '操作手册管理',
            component: {
              template: '<zh-operation-manual />'
            },

          },
          { //用户反馈管理
            path: 'user-feedback',
            name: 'user-feedback',
            txtName: '用户反馈管理',
            component: {
              template: '<zh-user-feedback />'
            },
          },
          { //常见问题管理-添加问题
            path: 'add-question/:id?',
            name: 'add-question',
            txtName: '添加问题',
            showLeft: false,
            component: {
              template: '<zh-add-question />'
            },
          },
          { //操作手册管理-添加手册
            path: 'add-manual',
            name: 'add-manual',
            txtName: '添加手册',
            showLeft: false,
            component: {
              template: '<zh-add-manual />'
            },
          },
        ]
      },
    ]
  },
  { //用户管理子系统
    path: 'user',
    name: 'user',
    authName: 'user',
    txtName: '用户管理子系统',
    component: {
      template: '<zh-menu-nav />'
    },
    children: [{ //组织架构管理
        path: 'org',
        name: 'org',
        authName: 'org',
        txtName: '组织架构',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //组织架构管理
            path: 'organization',
            name: 'organization',
            activePath: ['grademanage', 'classmanage', 'memberlist', 'importmore'],
            txtName: '组织架构管理',
            component: {
              template: '<zh-organization />'
            },
          },
          { //组织架构管理
            path: 'importmore',
            name: 'importmore',
            txtName: '批量导入',
            showLeft: false,
            component: {
              template: '<zh-importmore />'
            },
          },
          { //年级管理
            path: 'grademanage',
            name: 'grademanage',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-grademanage />'
            },
          },
          { //班级管理
            path: 'classmanage',
            name: 'classmanage',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-classmanage />'
            },
          },
          { //成员列表
            path: 'memberlist',
            name: 'memberlist',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-memberlist />'
            },
          },
        ]
      },
      { //班级管理
        path: 'class',
        name: 'class',
        authName: 'class',
        txtName: '班级管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //班级成员
            path: 'class-members',
            name: 'class-members',
            activePath: ['class-management', 'class-timetable', 'class-data', 'class-post', 'class-post-setting', 'class-user-import'],
            txtName: '班级列表',
            component: {
              template: '<zh-class-members />'
            },
          },
          { //班级岗位
            path: 'class-position',
            name: 'class-position',
            txtName: '岗位管理',
            component: {
              template: '<zh-class-position />'
            },
          },
          // { // 毕业班
          //     path: 'class-graduation',
          //     name: 'class-graduation',
          //     txtName: '已毕业班管理',
          //     component: {
          //         template: '<zh-class-graduation />'
          //     },
          // },
          { //班级管理
            path: 'class-management/:id?',
            name: 'class-management',
            showLeft: false,
            component: {
              template: '<zh-class-management />'
            },
          },
          { //班级课程表
            path: 'class-timetable/:id?',
            name: 'class-timetable',
            showLeft: false,
            component: {
              template: '<zh-class-timetable />'
            },
          },
          { //班级资料
            path: 'class-data/:id?',
            name: 'class-data',
            showLeft: false,
            component: {
              template: '<zh-class-data />'
            },
          },
          { //班级岗位列表
            path: 'class-post/:id?',
            name: 'class-post',
            showLeft: false,
            component: {
              template: '<zh-class-post />'
            },
          },
          { //班级岗位设置
            path: 'class-post-setting/:id?',
            name: 'class-post-setting',
            showLeft: false,
            component: {
              template: '<zh-class-post-setting />'
            },
          },
          { //批量导入
            path: 'class-user-import/:id?',
            name: 'class-user-import',
            showLeft: false,
            component: {
              template: '<zh-class-user-import />'
            },
          }
        ]
      },
      { //用户管理
        path: 'user',
        name: 'usermanage',
        authName: 'usermanage',
        txtName: '用户管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //平台角色管理
            path: 'platform-role',
            name: 'platform-role',
            activePath: ['permission'],
            txtName: '平台角色管理',
            component: {
              template: '<zh-platform-role />'
            },

          },
          { //平台用户管理
            path: 'platform-user',
            name: 'platform-user',
            activePath: ['add-platform-user', 'edit-platform-user', 'batch-import'],
            txtName: '平台用户管理',
            component: {
              template: '<zh-platform-user />'
            },
          },
          { //注册申请管理
            path: 'application-registration',
            name: 'application-registration',
            txtName: '注册申请管理',
            component: {
              template: '<zh-application-registration />'
            },
          },
          { //平台角色管理-权限设置
            path: 'permission/:id',
            name: 'permission',
            txtName: '权限设置',
            showLeft: false,
            component: {
              template: '<zh-permission-settings />'
            },
          },
          { //平台用户管理-添加用户
            path: 'add-platform-user',
            name: 'add-platform-user',
            txtName: '添加',
            showLeft: false,
            // isMultistage: true,
            component: {
              template: '<zh-add-platform-user />'
            },
          },
          { //平台用户管理-批量导入
            path: 'batch-import',
            name: 'batch-import',
            txtName: '批量导入',
            showLeft: false,
            component: {
              template: '<zh-batch-import />'
            },
          },
          { //平台用户管理-编辑用户信息
            path: 'edit-platform-user/:id',
            name: 'edit-platform-user',
            txtName: '编辑用户信息',
            showLeft: false,
            component: {
              template: '<zh-edit-platform-user />'
            },
          },
        ]
      },
      { //用户日记审核
        path: 'data',
        name: 'data',
        authName: 'data',
        txtName: '数据管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //用户日记审核
            path: 'journal-review',
            name: 'journal-review',
            txtName: '用户日记管理',
            component: {
              template: '<zh-journal-review />'
            },
          },
          { //用户私信记录
            path: 'private-record',
            name: 'private-record',
            txtName: '用户私信记录',
            component: {
              template: '<zh-private-record />'
            },
          },
          { //用户操作日志
            path: 'operation-log',
            name: 'operation-log',
            txtName: '用户操作日志',
            component: {
              template: '<zh-operation-log />'
            },
          },
        ]
      },
      { // 学籍管理
        path: 'studystatus',
        name: 'studystatus',
        authName: 'studystatus',
        txtName: '学籍管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ // 档案管理
            path: 'archives-list',
            name: 'archives-list',
            activePath: ['studystatus-import', 'archives-edit', 'change-log'],
            txtName: '档案管理',
            component: {
              template: '<zh-archives-list />'
            },
          },
          { // 异动记录
            path: 'transaction-record',
            name: 'transaction-record',
            activePath: ['transaction-log'],
            txtName: '异动记录',
            component: {
              template: '<zh-transaction-record />'
            },
          },
          { // 毕业生档案
            path: 'graduate-file',
            name: 'graduate-file',
            activePath: ['file-edit'],
            txtName: '毕业生档案',
            component: {
              template: '<zh-graduate-file />'
            },
          },
          { // 档案编辑
            path: 'archives-edit/:id?',
            name: 'archives-edit',
            txtName: '编辑',
            showLeft: false,
            component: {
              template: '<zh-archives-edit />'
            },
          },
          { // 档案变更记录
            path: 'change-log/:id?',
            name: 'change-log',
            txtName: '记录',
            showLeft: false,
            component: {
              template: '<zh-change-log />'
            },
          },
          { // 批量导入
            path: 'studystatus-import',
            name: 'studystatus-import',
            txtName: '批量导入',
            showLeft: false,
            component: {
              template: '<zh-studystatus-import />'
            },
          },
          { // 异动记录--记录
            path: 'transaction-log/:id?',
            name: 'transaction-log',
            txtName: '记录',
            showLeft: false,
            component: {
              template: '<zh-transaction-log />'
            },
          },
          { // 毕业生档案详情
            path: 'file-edit/:id?',
            name: 'file-edit',
            txtName: '编辑',
            showLeft: false,
            component: {
              template: '<zh-file-edit />'
            },
          }
        ]
      },
    ]
  },
  { //资源管理子系统
    path: 'resources',
    name: 'resources',
    authName: 'resources',
    txtName: '资源管理子系统',
    component: {
      template: '<zh-menu-nav />'
    },
    children: [{ //视频列表
        path: 'video',
        name: 'video',
        authName: 'video',
        txtName: '视频管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //视频列表
            path: 'video-list',
            name: 'video-list',
            activePath: ['new-video', 'video-editing', 'video-push-history', 'batch-add'],
            txtName: '视频列表',
            component: {
              template: '<zh-video-list />'
            },
          },
          { //视频审核
            path: 'video-check',
            name: 'video-check',
            txtName: '视频审核',
            isMultistage: true,
            component: {
              template: '<zh-video-check />'
            },
          },
          { //录制文件
            path: 'video-review',
            name: 'video-review',
            activePath: ['video-review-multi', 'video-review-stream'],
            txtName: '录制文件',
            component: {
              template: '<zh-video-review-multi />'
            },
          },
          { //切片列表
            path: 'slice-list',
            name: 'slice-list',
            activePath: ['new-cut'],
            txtName: '切片列表',
            component: {
              template: '<zh-slice-list />'
            },
          },
          { //转码信息
            path: 'transcoding-information',
            name: 'transcoding-information',
            txtName: '转码信息',
            component: {
              template: '<zh-transcoding-information />'
            },
          },
          { //视频设置
            path: 'video-settings',
            name: 'video-settings',
            txtName: '视频设置',
            component: {
              template: '<zh-video-settings />'
            },
          },
          { //视频设置
            path: 'video-library',
            name: 'video-library',
            activePath: ['play-statistics'],
            txtName: '视频库管理',
            component: {
              template: '<zh-video-library />'
            },
          },
          { //视频设置
            path: 'play-statistics',
            name: 'play-statistics',
            txtName: '使用记录',
            showLeft: false,
            component: {
              template: '<zh-play-statistics />'
            },
          },
          { //视频推送历史
            path: 'video-batch-upload',
            name: 'video-batch-upload',
            txtName: '批量上传',
            component: {
              template: '<zh-batch-upload />'
            },
          },
          { //多录制文件
            path: 'video-review-multi',
            name: 'video-review-multi',
            showLeft: false,
            txtName: '录制文件',
            component: {
              template: '<zh-video-review-multi />'
            },
          },
          { // 流媒体多录制文件
            path: 'video-review-stream',
            name: 'video-review-stream',
            showLeft: false,
            txtName: '录制文件',
            component: {
              template: '<zh-video-review-stream />'
            },
          },
          { //视频添加--视频添加
            path: 'new-video',
            name: 'new-video',
            txtName: '视频添加',
            showLeft: false,
            component: {
              template: '<zh-new-video />'
            },
          },
          { //视频批量添加
            path: 'batch-add',
            name: 'batch-add',
            txtName: '批量添加',
            showLeft: false,
            component: {
              template: '<zh-batch-add />'
            },
          },
          { //视频编辑--基本信息
            path: 'video-editing/:id?',
            name: 'video-editing',
            txtName: '视频编辑',
            showLeft: false,
            component: {
              template: '<zh-video-editing />'
            },
          },
          { //新增切片
            path: 'new-cut',
            name: 'new-cut',
            txtName: '新增切片',
            showLeft: false,
            component: {
              template: '<zh-new-cut />'
            },
          },
          { //视频推送历史
            path: 'video-push-history',
            name: 'video-push-history',
            txtName: '推送历史',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-video-push-history />'
            },
          },
          // { //录制文件
          //   path: 'recording-file',
          //   name: 'recording-file',
          //   txtName: '录制文件',
          //   component: {
          //     template: '<zh-recording-file />'
          //   },
          // },
          // { //视频水印
          //   path: 'video-watermark',
          //   name: 'video-watermark',
          //   txtName: '视频水印',
          //   component: {
          //     template: '<zh-video-watermark />'
          //   },
          //   children: [{ //水印历史
          //     path: 'record',
          //     name: 'record',
          //     component: {
          //       template: '<zh-watermark-record />'
          //     },
          //   }, ]
          // },
        ]
      },
      { //直播管理
        path: 'live',
        name: 'live',
        authName: 'live',
        txtName: '直播管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //直播列表
            path: 'livePlay-list',
            name: 'livePlay-list',
            activePath: ['live-broadcast', 'live-details', 'live-statistics', 'live-import', 'live-push-history'],
            txtName: '直播列表',
            component: {
              template: '<zh-livePlay-list />'
            },
          },
          { //预约审核
            path: 'livePlay-review',
            name: 'livePlay-review',
            txtName: '预约审核',
            component: {
              template: '<zh-livePlay-review />'
            },
          },
          { //直播审核
            path: 'live-check',
            name: 'live-check',
            txtName: '直播审核',
            isMultistage: true,
            component: {
              template: '<zh-live-check />'
            },
          },
          { //直播预约
            path: 'live-broadcast',
            name: 'live-broadcast',
            activePath: ['live-standard'],
            txtName: '直播预约',
            showLeft: false,
            component: {
              template: '<zh-live-broadcast />'
            },
          },
          { //评课标准
            path: 'live-standard',
            name: 'live-standard',
            txtName: '直播列表 >',
            showLeft: false,
            component: {
              template: '<zh-live-standard />'
            },
          },
          { //查看直播
            path: 'live-details',
            name: 'live-details',
            txtName: '查看直播',
            showLeft: false,
            component: {
              template: '<zh-live-details />'
            },
          },
          { //直播统计
            path: 'live-statistics',
            name: 'live-statistics',
            txtName: '直播统计',
            showLeft: false,
            component: {
              template: '<zh-live-statistics />'
            },
          },
          { //直播导入
            path: 'live-import',
            name: 'live-import',
            txtName: '直播导入',
            showLeft: false,
            component: {
              template: '<zh-live-import />'
            },
          },
          { //直播推送历史
            path: 'live-push-history',
            name: 'live-push-history',
            txtName: '推送历史',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-live-push-history />'
            },
          },
        ]
      },
      { //资源管理
        path: 'resource',
        name: 'resource',
        authName: 'resource',
        txtName: '资源管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //教学资源
            path: 'teaching-resources',
            name: 'teaching-resources',
            activePath: ['resource-upload', 'resource-edit', 'resource-push-history'],
            txtName: '教学资源',
            component: {
              template: '<zh-teaching-resources />'
            },
          },
          { // 资源审核
            path: 'resources-audit',
            name: 'resources-audit',
            txtName: '资源审核',
            component: {
              template: '<zh-resource-check />'
            },
          },
          { //教材管理
            path: 'textbook-management',
            name: 'textbook-management',
            activePath: ['material-detail'],
            txtName: '教材管理',
            component: {
              template: '<zh-textbook-management />'
            },
          },
          { //专辑管理
            path: 'album-management',
            name: 'album-management',
            activePath: ['album-editor', 'album-count', 'album-add'],
            txtName: '专辑列表',
            component: {
              template: '<zh-album-management />'
            },
          },
          { //评论管理
            path: 'comment-management',
            name: 'comment-management',
            txtName: '评论管理',
            component: {
              template: '<zh-comment-management />'
            },
          },
          { //专辑推送审核
            path: 'album-push-check',
            name: 'album-push-check',
            txtName: '专辑审核',
            isMultistage: true,
            component: {
              template: '<zh-album-push-check />'
            },
          },
          { //教学资源--编辑
            path: 'resource-edit/:id',
            name: 'resource-edit',
            txtName: '资源编辑',
            showLeft: false,
            component: {
              template: '<zh-resource-edit />'
            },
          },
          { //教学资源--上传
            path: 'resource-upload',
            name: 'resource-upload',
            txtName: '资源上传',
            showLeft: false,
            component: {
              template: '<zh-resource-upload />'
            },
          },
          // { //教学资源推送审核
          //     path: 'teaching-push-check',
          //     name: 'teaching-push-check',
          //     txtName: '推送资源审核',
          //     isMultistage: true,
          //     component: {
          //         template: '<zh-teaching-push-check />'
          //     },
          // },
          { //教学资源推送审核
            path: 'resource-push-history',
            name: 'resource-push-history',
            txtName: '推送历史',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-resource-push-history />'
            },
          },
          { //教材管理--详情
            path: 'material-detail/:id?',
            name: 'material-detail',
            showLeft: false,
            component: {
              template: '<zh-detail-management />'
            },
          },
          { //专辑管理--上课统计
            path: 'album-count/:id?',
            name: 'album-count',
            txtName: '上课统计',
            showLeft: false,
            component: {
              template: '<zh-album-management-statistics />'
            }
          },
          { //专辑管理--管理
            path: 'album-editor/:id?',
            name: 'album-editor',
            txtName: '管理',
            showLeft: false,
            component: {
              template: '<zh-album-editor />'
            }
          },
          { //专辑管理--添加专辑
            path: 'album-add',
            name: 'album-add',
            txtName: '添加专辑',
            showLeft: false,
            component: {
              template: '<zh-album-add />'
            }
          },
        ]
      },
      { //试卷管理
        path: 'exam',
        name: 'exam',
        authName: 'exam',
        txtName: '试题管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //题型管理
            path: 'examinationPaper-type',
            name: 'examinationPaper-type',
            txtName: '题型管理',
            component: {
              template: '<zh-examinationPaper-type />'
            },
            children: [{
              path: 'relevance',
              name: 'relevance',
              component: {
                template: '<zh-examination-paper-relevance />'
              }
            }]
          },
          { // 试卷类型
            path: 'examination-type',
            name: 'examination-type',
            txtName: '试卷类型',
            component: {
              template: '<zh-examination-type />'
            }
          },
          { //试卷管理
            path: 'examinationPaper',
            name: 'examinationPaper',
            activePath: ['examination-push-history', 'examinationPaper-view'],
            txtName: '试卷列表',
            component: {
              template: '<zh-examinationPaper />'
            },
          },
          // { //试卷审核
          //   path: 'examinationAuth',
          //   name: 'examinationAuth',
          //   txtName: '试卷审核',
          //   component: {
          //     template: '<zh-examinationAuth />'
          //   },

          // },
          { //试卷审核
            path: 'examination-platform-check',
            name: 'examination-platform-check',
            txtName: '试卷审核',
            component: {
              template: '<zh-examination-platform-check />'
            },
          },
          { //试题库
            path: 'database',
            name: 'database',
            activePath: ['database-push-history'],
            txtName: '试题列表',
            component: {
              template: '<zh-database />'
            },
          },
          { //试卷推送历史
            path: 'examination-push-history',
            name: 'examination-push-history',
            txtName: '推送历史',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-examination-push-history />'
            },
          },

          { //试卷查看
            path: 'examinationPaper-view/:id?',
            name: 'examinationPaper-view',
            txtName: '试卷查看',
            showLeft: false,
            component: {
              template: '<zh-examinationPaper-view />'
            }
          },

          { //试题推送历史
            path: 'database-push-history',
            name: 'database-push-history',
            txtName: '推送历史',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-database-push-history />'
            },
          },
        ]
      },
    ]
  },
  { //教学管理子系统
    path: 'teaching',
    name: 'teaching',
    authName: 'teaching',
    txtName: '教学管理子系统',
    component: {
      template: '<zh-menu-nav />'
    },
    children: [{ //网络教研
        path: 'research',
        name: 'research',
        authName: 'research',
        txtName: '网络教研',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //评课活动管理
            path: 'comment-course',
            name: 'comment-course',
            txtName: '评课活动管理',
            component: {
              template: '<zh-comment-course />'
            },
          },
          { //评估标准设置
            path: 'evaluation-criteria',
            name: 'evaluation-criteria',
            activePath: ['detail-standard', 'new-standard'],
            txtName: '评估标准设置',
            component: {
              template: '<zh-evaluation-criteria />'
            },
          },
          { //新增评估标准
            path: 'new-standard/:id?',
            name: 'new-standard',
            txtName: '新增评估标准',
            showLeft: false,
            component: {
              template: '<zh-new-standard />'
            },
          },
          { //查看评估标准
            path: 'detail-standard/:id?',
            name: 'detail-standard',
            txtName: '查看评估标准',
            showLeft: false,
            component: {
              template: '<zh-detail-standard />'
            },
          },
        ]
      },
      { //个人备课
        path: 'prepare',
        name: 'prepare',
        authName: 'prepare',
        txtName: '备课管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //个人备课
            path: 'personal',
            name: 'personal',
            activePath: ['personal-resources'],
            txtName: '个人备课',
            component: {
              template: '<zh-personal />'
            },
          },
          { //集体备课
            path: 'collective',
            name: 'collective',
            activePath: ['collective-resources'],
            txtName: '集体备课',
            component: {
              template: '<zh-collective />'
            },
          },
          { //个人备课--资源管理
            path: 'personal-resources/:id?',
            name: 'personal-resources',
            txtName: '资源管理',
            showLeft: false,
            component: {
              template: '<zh-personal-resources />'
            },
          },
          { //集体备课--资源管理
            path: 'collective-resources/:id?',
            name: 'collective-resources',
            txtName: '资源管理',
            showLeft: false,
            component: {
              template: '<zh-collective-resources />'
            },
          },
        ]
      },
      { //学习统计
        path: 'count',
        name: 'count',
        authName: 'count',
        txtName: '学习统计',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //学生学分
            path: 'academic-credit',
            name: 'academic-credit',
            txtName: '学生学分',
            component: {
              template: '<zh-academic-credit />'
            },
          },
          { //学习统计
            path: 'statistics',
            name: 'statistics',
            txtName: '学习统计',
            component: {
              template: '<zh-statistics />'
            },
            // children: [
            //  {   //上传统计
            //      path:'upload',
            //              name:'upload',
            //              component: {
            //              template : '<zh-upload-statistics />'
            //      },
            //  },
            //  {   //下载统计
            //      path:'download',
            //              name:'download',
            //              component: {
            //              template : '<zh-download-statistics />'
            //      },
            //  }
            // ]
          },
        ]
      },
      { //学科圈组
        path: 'group',
        name: 'group',
        authName: 'group',
        txtName: '学科圈组',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //圈组列表
            path: 'circle-group',
            name: 'circle-group',
            authName: 'group',
            activePath: ['group-management', 'member-review', 'new-group', 'paper-view', 'member-check'],
            txtName: '圈组列表',
            component: {
              template: '<zh-circle-group />'
            },
          },
          { //圈组列表--管理
            path: 'group-management/:id?',
            name: 'group-management',
            showLeft: false,
            component: {
              template: '<zh-group-management />'
            },
          },
          { //圈组列表--成员管理
            path: 'member-review/:id?',
            name: 'member-review',
            showLeft: false,
            component: {
              template: '<zh-member-review />'
            },
          },
          { //圈组列表--成员查看
            path: 'member-check/:id?',
            name: 'member-check',
            showLeft: false,
            component: {
              template: '<zh-member-check />'
            },
          },
          { //圈组列表--添加
            path: 'new-group',
            name: 'new-group',
            showLeft: false,
            component: {
              template: '<zh-new-group />'
            },
          },
          { //圈组列表--查看试卷
            path: 'paper-view/:id?',
            name: 'paper-view',
            showLeft: false,
            component: {
              template: '<zh-paper-view />'
            },
          },
        ]
      },
      {
        /*教师培训*/
        path: 'train',
        name: 'train',
        authName: 'train',
        txtName: '教师培训',
        isMultistage: true,
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{
            path: 'train-list',
            name: 'train-list',
            activePath: ['train-edit', 'train-add', 'train-details', 'train-count'],
            txtName: '培训列表',
            isMultistage: true,
            component: {
              template: '<zh-teacher-train-list />'
            }
          },
          {
            path: 'train-edit',
            name: 'train-edit',
            txtName: '编辑培训',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-teacher-train-edit />'
            }
          },
          {
            path: 'train-add',
            name: 'train-add',
            txtName: '添加培训',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-teacher-train-add />'
            }
          },
          {
            path: 'train-details',
            name: 'train-details',
            txtName: '培训详情',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-teacher-train-details />'
            }
          },
          {
            path: 'train-count',
            name: 'train-count',
            txtName: '统计',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-teacher-train-count />'
            }
          }
        ]
      },
      {
        path: 'scheduling',
        name: 'scheduling',
        authName: 'scheduling',
        txtName: '排课评课',
        isMultistage: true,
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{
            path: 'scheduling-apply',
            name: 'scheduling-apply',
            activePath: ['scheduling-check'],
            txtName: '申请审核',
            isMultistage: true,
            component: {
              template: '<zh-teacher-scheduling-apply />'
            }
          },
          {
            path: 'course-list',
            name: 'course-list',
            activePath: ['course-list'],
            txtName: '排课列表',
            isMultistage: true,
            component: {
              template: '<zh-teacher-course-list />'
            }
          },
          {
            path: 'scheduling-check',
            name: 'scheduling-check',
            txtName: '详情',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-teacher-scheduling-check />'
            }
          },
          {
            path: 'course-detail/:id?',
            name: 'course-detail',
            txtName: '详情',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-teacher-course-detail />'
            }
          }
        ]
      }
    ]
  },
  { //教务管理子系统
    path: 'affairs',
    name: 'affairs',
    authName: 'affairs',
    txtName: '教务管理子系统',
    component: {
      template: '<zh-menu-nav />'
    },
    children: [{ //请假管理
        path: 'examine',
        name: 'examine',
        authName: 'examine',
        txtName: '办公审批',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //审批管理
            path: 'examine-list',
            name: 'examine-list',
            activePath: ['form-design'],
            txtName: '审批管理',
            component: {
              template: '<zh-examine-list />'
            },
          },
          { //审批管理表单设计
            path: 'form-design',
            name: 'form-design',
            txtName: '审批管理',
            showLeft: false,
            component: {
              template: '<zh-examine-form-design />'
            },
          },
        ]
      },
      { //请假管理
        path: 'leave',
        name: 'leave',
        authName: 'leave',
        txtName: '请假管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //学生请假
            path: 'student',
            name: 'student',
            txtName: '学生请假管理',
            activePath: ['student-leave-details'],
            component: {
              template: '<zh-student-leave />'
            },
            children: []
          },
          { //教师请假
            path: 'teacher',
            name: 'teacher',
            activePath: ['leave-details'],
            txtName: '教师请假管理',
            component: {
              template: '<zh-teacher-leave />'
            },
            children: []
          },
          { //学生请假--详情
            path: 'student-leave-details/:id?',
            name: 'leave-details1',
            txtName: '学生请假管理详情',
            showLeft: false,
            component: {
              template: '<zh-leave-details />'
            },
          },
          { //教师请假--详情
            path: 'leave-details/:id?',
            name: 'leave-details2',
            txtName: '教师请假管理详情',
            showLeft: false,
            component: {
              template: '<zh-leave-details />'
            },
          },
        ]
      },
      { //设备管理
        path: 'recorder',
        name: 'recorder',
        authName: 'recorder',
        txtName: '设备管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //录播设备-录播主机
            path: 'taped',
            name: 'taped',
            txtName: '录播设备',
            component: {
              template: '<zh-taped />'
            },
            children: [{ //其他设备
              path: 'other-devices',
              name: 'other-devices',
              component: {
                template: '<zh-other-devices />'
              },
            }]
          },
          { //录播设备-录播主机
            path: 'AI-analysis',
            name: 'AI-analysis',
            txtName: 'AI分析设备',
            component: {
              template: '<zh-AI-analysis/>'
            }
          },
          { //录播设备-流媒体管理
            path: 'stream',
            name: 'stream',
            txtName: '流媒体管理',
            component: {
              template: '<zh-stream-recorder />'
            },
          },
          // { //录播设备-推流设备
          //   path: 'push',
          //   name: 'push',
          //   txtName: '推流设备',
          //   component: {
          //     template: '<zh-push-recorder />'
          //   },
          // },
          // { //录播设备-拉流设备
          //     path: 'pull',
          //     name: 'pull',
          //     txtName: '拉流设备',
          //     component: {
          //         template: '<zh-pull-recorder />'
          //     },
          // },
          // { //录播设备-推流管理
          //     path: 'flow',
          //     name: 'flow',
          //     txtName: '推流管理',
          //     component: {
          //         template: '<zh-push-management />'
          //     },
          // },
          // {    //班班通-设备管理
          //          path: 'BanBantong/:id?',
          //          name: 'BanBantong',
          //          txtName:'班班通',
          //          component: {
          //              template : '<zh-BanBantong />'
          //  },
          //  children: [
          //      {   //录制管理
          //          path:'recording-management',
          //              name:'recording-management',
          //              component: {
          //              template : '<zh-recording-management />'
          //          },
          //      }
          //  ]
          // },
        ]
      },
      { //巡检管理
        path: 'inspection',
        name: 'inspection',
        authName: 'inspection',
        txtName: '巡检管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //校园分区
            path: 'campus-partition',
            name: 'campus-partition',
            txtName: '校园分区',
            component: {
              template: '<zh-campus-partition />'
            },
            children: [{ //教室管理
              path: 'classroom-management',
              name: 'classroom-management',
              component: {
                template: '<zh-classroom-management />'
              },
            }]
          },
          { // 巡检权限
            path: 'campus-permission',
            name: 'campus-permission',
            txtName: '巡检权限',
            component: {
              template: '<zh-campus-permission />'
            },
          },
          // { //校园直播
          //   path: 'campus-broadcast',
          //   name: 'campus-broadcast',
          //   txtName: '校园直播',
          //   component: {
          //     template: '<zh-campus-broadcast />'
          //   },
          // },
          { //课堂巡视
            path: 'classroom-visits',
            name: 'classroom-visits',
            activePath: ['classroom-play'],
            txtName: '巡检预览',
            component: {
              template: '<zh-classroom-visits />'
            },
          },
          { //课堂巡视2
            path: 'classroom-play/:id?',
            name: 'classroom-play',
            txtName: '课堂巡视2',
            showLeft: false,
            component: {
              template: '<zh-classroom-play />'
            },
          },
        ]
      },
      // LED屏幕管理
      // {
      //     path: 'led',
      //     name: 'led',
      //     authName: 'led',
      //     txtName: 'LED屏幕管理',
      //     component: {
      //         template: '<zh-menu-sub-nav />'
      //     },
      //     children: [
      //         {
      //             path: 'led-list',
      //             name: 'led-list',
      //             activePath: ['led-detail', 'led-show'],
      //             txtName: 'LED屏幕管理',
      //             component: {
      //                 template: '<zh-led-list />'
      //             },
      //         },
      //         {
      //             path: 'led-detail/:id?',
      //             name: 'detail',
      //             showLeft: false,
      //             component: {
      //                 template: '<zh-led-detail-management />'
      //             },
      //         },
      //         {
      //             path: 'led-show',
      //             name: 'show',
      //             showLeft: false,
      //             component: {
      //                 template: '<zh-led-show-management />'
      //             },
      //         },
      //     ]
      // },
      { // 课时管理
        path: 'period',
        name: 'period',
        authName: 'period',
        txtName: '课程管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{
            //课时设置
            path: 'classTime-setting',
            name: 'classTime-setting',
            txtName: '课时设置',
            component: {
              template: '<zh-classTime-setting />'
            },
          },
          {
            // 课程表
            path: 'class_timetable',
            name: 'class_timetable',
            txtName: '课程表',
            activePath: ['class-timetable-import'],
            component: {
              template: '<zh-class_timetable />'
            },
          },

          {
            // AI课程管理
            path: 'classAi-management',
            name: 'classAi-management',
            txtName: 'AI课程管理',
            component: {
              template: '<zh-classAi-management />'
            },
          },
          {
            // 视频课程管理
            path: 'classVideo-management',
            name: 'classVideo-management',
            txtName: '视频课程管理',
            component: {
              template: '<zh-classVideo-management />'
            },
          },

          {
            path: 'class-timetable-import',
            name: 'class-timetable-import',
            txtName: '批量导入',
            showLeft: false,
            component: {
              template: '<zh-class_timetable_import />'
            },
          }

        ]
      },

      { // 考勤管理
        path: 'attend',
        name: 'attend',
        authName: 'attend',
        txtName: '考勤管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //考勤管理
            path: 'attendance-list',
            name: 'attendance-list',
            activePath: ['attendance-details'],
            txtName: '考勤报表',
            component: {
              template: '<zh-attendance-list />'
            },
          },
          { //考勤详情
            path: 'attendance-details/:id?',
            name: 'attendance-details',
            txtName: '考勤详情',
            showLeft: false,
            component: {
              template: '<zh-attendance-details />'
            },
          },
        ]
      },

      {
        /*教师档案*/
        path: 'teachers',
        name: 'teachers',
        authName: 'teachers',
        txtName: '教师档案',
        // isMultistage: true,
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{
            path: 'record-manage',
            name: 'record-manage',
            activePath: ['record-manage-add', 'record-manage-edit', 'teacher-import', 'change-log'],
            txtName: '档案管理',
            // isMultistage: true,
            component: {
              template: '<zh-teachers-record />'
            }
          },

          {
            path: 'fields-manage',
            name: 'fields-manage',
            txtName: '字段管理',
            // isMultistage: true,
            component: {
              template: '<zh-teachers-fields />'
            }
          },
          {
            path: 'record-manage-add',
            name: 'record-manage-add',
            txtName: '单个添加',
            showLeft: false,
            // isMultistage: true,
            component: {
              template: '<zh-record-manage-add />'
            }
          },
          {
            path: 'record-manage-edit/:id',
            name: 'record-manage-edit',
            txtName: '档案编辑',
            showLeft: false,
            // isMultistage: true,
            component: {
              template: '<zh-record-manage-edit />'
            }
          },
          {
            path: 'teacher-import',
            name: 'teacher-import',
            txtName: '批量导入',
            showLeft: false,
            component: {
              template: '<zh-teacher-import />'
            }
          },
          {
            path: 'change-log/:id',
            name: 'change-log',
            txtName: '变更记录',
            showLeft: false,
            component: {
              template: '<zh-change-log />'
            }
          },
        ]
      },
      { //名师中心
        path: 'teacherTop',
        name: 'teacherTop',
        txtName: '名师中心',
        authName: 'teacherTop',
        // isMultistage: true,
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{
            path: 'top-list',
            name: 'top-list',
            activePath: ['push-history'],
            txtName: '名师列表',
            // isMultistage: true,
            component: {
              template: '<zh-teacher-top />'
            }
          },
          {
            path: 'teacher-check',
            name: 'teacher-check',
            txtName: '名师审核',
            isMultistage: true,
            component: {
              template: '<zh-teacher-check />'
            }
          },
          {
            path: 'push-history',
            name: 'push-history',
            txtName: '推送历史',
            showLeft: false,
            isMultistage: true,
            component: {
              template: '<zh-teacher-push-history />'
            }
          },
        ]
      },
      { // 学期管理
        path: 'semester',
        name: 'semester',
        txtName: '学期管理',
        authName: 'semester',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{
            path: 'term-list',
            name: 'term-list',
            txtName: '学期管理',
            component: {
              template: '<zh-term-list />'
            },
          },
          {
            path: 'term-history',
            name: 'term-history',
            txtName: '历史学年记录',
            component: {
              template: '<zh-term-history />'
            },
          }
        ]
      },
      { // 资产管理
        path: 'asset',
        name: 'asset',
        txtName: '资产管理',
        authName: 'asset',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{
            path: 'asset-list',
            name: 'asset-list',
            txtName: '资产列表',
            activePath: ['asset-detail', 'asset-add', 'asset-edit', 'asset-batch-import'],
            component: {
              template: '<zh-asset-list />'
            },
          },
          {
            path: 'asset-detail/:id',
            name: 'asset-detail',
            txtName: '资产详情',
            showLeft: false,
            component: {
              template: '<zh-asset-detail />'
            },
          },
          {
            path: 'asset-add',
            name: 'asset-add',
            txtName: '添加资产',
            showLeft: false,
            component: {
              template: '<zh-add-asset />'
            },
          },
          {
            path: 'asset-edit/:id',
            name: 'asset-edit',
            txtName: '编辑资产',
            showLeft: false,
            component: {
              template: '<zh-edit-asset />'
            },
          },
          {
            path: 'asset-batch-import',
            name: 'asset-batch-import',
            txtName: '批量导入',
            showLeft: false,
            component: {
              template: '<zh-asset-batch-import />'
            },
          }
        ]
      },
      { // 用车管理
        path: 'vehicle',
        name: 'vehicle',
        txtName: '用车管理',
        authName: 'vehicle',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{
            path: 'vehicle-list',
            name: 'vehicle-list',
            activePath: ['add-vehicle', 'edit-vehicle', 'vehicle-detail'],
            txtName: '车辆管理',
            component: {
              template: '<zh-vehicle-list />'
            },
          },
          {
            path: 'exception-list',
            name: 'exception-list',
            activePath: ['damage-list', 'add-violation', 'edit-violation', 'add-damage', 'edit-damage'],
            txtName: '异常管理',
            component: {
              template: '<zh-exception-list />'
            },
          },
          {
            path: 'insurance-inspection',
            name: 'insurance-inspection',
            txtName: '保险年检管理',
            component: {
              template: '<zh-insurance-inspection />'
            },
          },
          {
            path: 'add-vehicle',
            name: 'add-vehicle',
            txtName: '新增车辆',
            showLeft: false,
            component: {
              template: '<zh-add-vehicle />'
            },
          },
          {
            path: 'edit-vehicle/:id',
            name: 'edit-vehicle',
            txtName: '编辑车辆',
            showLeft: false,
            component: {
              template: '<zh-add-vehicle />'
            },
          },
          {
            path: 'vehicle-detail/:id',
            name: 'vehicle-detail',
            txtName: '车辆详情',
            showLeft: false,
            component: {
              template: '<zh-vehicle-detail />'
            },
          },
          {
            path: 'damage-list',
            name: 'damage-list',
            txtName: '异常管理',
            showLeft: false,
            component: {
              template: '<zh-damage-list />'
            },
          },
          {
            path: 'add-violation',
            name: 'add-violation',
            txtName: '添加记录',
            showLeft: false,
            component: {
              template: '<zh-add-violation />'
            },
          },
          {
            path: 'edit-violation/:id',
            name: 'edit-violation',
            txtName: '编辑记录',
            showLeft: false,
            component: {
              template: '<zh-add-violation />'
            },
          },
          {
            path: 'add-damage',
            name: 'add-damage',
            txtName: '添加记录',
            showLeft: false,
            component: {
              template: '<zh-add-damage />'
            },
          },
          {
            path: 'edit-damage/:id',
            name: 'edit-damage',
            txtName: '编辑记录',
            showLeft: false,
            component: {
              template: '<zh-add-damage />'
            },
          }
        ]
      },
      { // 素质评价
        path: 'quality',
        name: 'quality',
        txtName: '素质评价',
        authName: 'quality',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{
            path: 'indicator',
            name: 'indicator',
            txtName: '指标管理',
            component: {
              template: '<zh-indicator />'
            },
          },
          {
            path: 'settings',
            name: 'settings',
            txtName: '其他设置',
            component: {
              template: '<zh-other-settings />'
            },
          }
        ]
      },
    ]
  },
  { //校园生活子系统
    path: 'life',
    name: 'life',
    authName: 'life',
    txtName: '校园生活子系统',
    component: {
      template: '<zh-menu-nav />'
    },
    children: [{ //宿舍管理
        path: 'dormitory',
        name: 'dormitory',
        authName: 'dormitory',
        txtName: '宿舍管理',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //住宿管理
            path: 'accommodation-list',
            name: 'accommodation-list',
            activePath: ['dorm-list'],
            txtName: '住宿管理',
            component: {
              template: '<zh-accommodation-list />'
            },
          },
          { //住宿登记
            path: 'accommodation-registration',
            name: 'accommodation-registration',
            activePath: ['registration-detail', 'registration-detail-import'],
            txtName: '住宿登记',
            component: {
              template: '<zh-accommodation-registration />'
            },
          },
          { // 留校记录
            path: 'school-record',
            name: 'school-record',
            activePath: ['school-batch-import'],
            txtName: '留校记录',
            component: {
              template: '<zh-school-record />'
            },
          },
          { // 访客记录
            path: 'visitor-record',
            name: 'visitor-record',
            activePath: ['visitor-detail', 'visitor-batch-import'],
            txtName: '访客记录',
            component: {
              template: '<zh-visitor-record />'
            },
          },
          { //宿舍列表
            path: 'dorm-list/:id',
            name: 'dorm-list',
            txtName: '宿舍列表',
            showLeft: false,
            component: {
              template: '<zh-dorm-list />'
            },
          },
          { //登记详情
            path: 'registration-detail/:id',
            name: 'registration-detail',
            txtName: '登记详情',
            showLeft: false,
            component: {
              template: '<zh-registration-detail />'
            },
          },
          { // 留校记录--批量导入
            path: 'school-batch-import',
            name: 'school-batch-import',
            txtName: '批量导入',
            showLeft: false,
            component: {
              template: '<zh-school-batch-import />'
            },
          },
          { // 住宿登记--批量导入
            path: 'registration-detail-import/:id',
            name: 'registration-detail-import',
            txtName: '批量导入',
            showLeft: false,
            component: {
              template: '<zh-registration-detail-import />'
            },
          },
          { // 访客详情
            path: 'visitor-detail/:id',
            name: 'visitor-detail',
            txtName: '访客详情',
            showLeft: false,
            component: {
              template: '<zh-visitor-detail />'
            },
          },
          { // 访客记录--批量导入
            path: 'visitor-batch-import/:id',
            name: 'visitor-batch-import',
            txtName: '批量导入',
            showLeft: false,
            component: {
              template: '<zh-visitor-batch-import />'
            },
          },
        ]
      },
      { // 校友服务
        path: 'alumni',
        name: 'alumni',
        authName: 'alumni',
        txtName: '校友服务',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //文章管理
            path: 'alumni-list',
            name: 'alumni-list',
            txtName: '文章管理',
            activePath: ['alumni-list', 'alumni-publish', 'alumni-edit', 'alumni-artical-details'],
            component: {
              template: '<zh-alumni-list />'
            },
          },
          { // 相册管理
            path: 'album-list',
            name: 'album-list',
            txtName: '相册管理',
            activePath: ['album-list', 'album-built', 'album-details'],
            component: {
              template: '<zh-album-list />'
            },
          },
          {
            path: 'alumni-publish',
            name: 'alumni-publish',
            showLeft: false,
            txtName: '文章发布',
            component: {
              template: '<zh-alumni-publish />'
            },
          },
          {
            path: 'alumni-edit/:id',
            name: 'alumni-edit',
            showLeft: false,
            txtName: '文章编辑',
            component: {
              template: '<zh-alumni-edit />'
            },
          },
          {
            path: 'alumni-artical-details/:id',
            name: 'alumni-artical-details',
            showLeft: false,
            txtName: '文章编辑',
            component: {
              template: '<zh-alumni-artical-details />'
            },
          },
          { // 新建相册
            path: 'album-built',
            name: 'album-built',
            showLeft: false,
            txtName: '新建相册',
            component: {
              template: '<zh-album-built />'
            },
          },
          { // 相册管理
            path: 'album-details/:id',
            name: 'album-details',
            showLeft: false,
            txtName: '相册详情',
            component: {
              template: '<zh-album-details />'
            },
          },
        ]
      },
      {
        path: 'canteen',
        name: 'canteen',
        authName: 'canteen',
        txtName: '食堂菜单',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //菜单管理
            path: 'menu-list',
            name: 'menu-list',
            txtName: '菜单管理',
            activePath: ['menu-list', 'publish-menu', 'edit-menu', 'menu-detail'],
            component: {
              template: '<zh-menu-list />'
            },
          },
          { //菜式管理
            path: 'food-list',
            name: 'food-list',
            txtName: '菜式管理',
            activePath: ['food-list', 'new-food', 'edit-food'],
            component: {
              template: '<zh-food-list />'
            },
          },
          { // 菜单详情
            path: 'menu-detail/:id',
            name: 'menu-detail',
            txtName: '菜单详情',
            showLeft: false,
            component: {
              template: '<zh-menu-detail />'
            },
          },
          { // 发布菜单
            path: 'publish-menu',
            name: 'publish-menu',
            txtName: '发布菜单',
            showLeft: false,
            component: {
              template: '<zh-publish-menu />'
            },
          },
          { // 编辑菜单
            path: 'edit-menu/:id',
            name: 'edit-menu',
            txtName: '编辑菜单',
            showLeft: false,
            component: {
              template: '<zh-publish-menu />'
            },
          },
          { // 新建菜式
            path: 'new-food',
            name: 'new-food',
            txtName: '新建菜式',
            showLeft: false,
            component: {
              template: '<zh-new-food />'
            },
          },
          { // 编辑菜式
            path: 'edit-food/:id',
            name: 'edit-food',
            txtName: '编辑菜式',
            showLeft: false,
            component: {
              template: '<zh-new-food />'
            },
          },
        ]
      },
      { //活动赛事
        path: 'events',
        name: 'events',
        authName: 'events',
        txtName: '活动赛事',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{
            path: 'school-activities',
            name: 'school-activities',
            activePath: ['initiate-activities', 'activity-details', 'activity-registration'],
            txtName: '校园活动',
            component: {
              template: '<zh-school-activities />'
            },
          },
          {
            path: 'events-management',
            name: 'events-management',
            activePath: ['create-events', 'events-details', 'events-registration'],
            txtName: '赛事管理',
            component: {
              template: '<zh-events-management />'
            },
          },
          {
            path: 'initiate-activities',
            name: 'initiate-activities',
            txtName: '发起活动',
            showLeft: false,
            component: {
              template: '<zh-initiate-activities />'
            },
          },
          {
            path: 'create-events',
            name: 'create-events',
            txtName: '创建赛事',
            showLeft: false,
            component: {
              template: '<zh-create-events />'
            },
          },
          {
            path: 'activity-details/:id',
            name: 'activity-details',
            txtName: '活动详情',
            showLeft: false,
            component: {
              template: '<zh-activity-details />'
            },
          },
          {
            path: 'events-details/:id',
            name: 'events-details',
            txtName: '赛事详情',
            showLeft: false,
            component: {
              template: '<zh-events-details />'
            },
          },
          {
            path: 'activity-registration/:id',
            name: 'activity-registration',
            txtName: '活动报名名单',
            showLeft: false,
            component: {
              template: '<zh-activity-registration />'
            },
          },
          {
            path: 'events-registration/:id',
            name: 'events-registration',
            txtName: '赛事报名名单',
            showLeft: false,
            component: {
              template: '<zh-events-registration />'
            },
          },
        ]
      },
    ]
  },
  { //系统配置子系统
    path: 'system',
    name: 'system',
    authName: 'system',
    txtName: '系统配置子系统',
    component: {
      template: '<zh-menu-nav />'
    },
    children: [{ //基础信息
        path: 'basic',
        name: 'basic',
        authName: 'basic',
        txtName: '基础信息',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //系统信息
            path: 'system-message',
            name: 'system-message',
            txtName: '系统信息',
            component: {
              template: '<zh-system-message />'
            },
          },
          { //时间设置
            path: 'time',
            name: 'time',
            txtName: '时间设置',
            component: {
              template: '<zh-time />'
            },
          },
          { //IP配置
            path: 'ip',
            name: 'ip',
            txtName: 'IP配置',
            component: {
              template: '<zh-ip />'
            },
          },
          { //推门听课配置
            path: 'door',
            name: 'door',
            txtName: '推门听课配置',
            component: {
              template: '<zh-door />',
            },
          },
          { //视频应用配置
            path: 'video-application',
            name: 'video-application',
            txtName: '视频应用对接配置',
            component: {
              template: '<zh-video-application />',
            }
          },
          { // 直播清晰度配置
            path: 'video-live',
            name: 'video-live',
            txtName: '直播应用配置',
            component: {
              template: '<zh-live-definition />',
            }
          },
          // {
          //   path: 'anti-theft',
          //   name: 'anti-theft',
          //   txtName: '防盗录配置',
          //   component: {
          //     template: '<zh-anti-theft />',
          //   }
          // },
        ]
      },

      // { //系统补丁
      //   path: 'patch',
      //   name: 'patch',
      //   authName: 'patch',
      //   txtName: '系统补丁',
      //   component: {
      //     template: '<zh-menu-sub-nav />'
      //   },
      //   children: [{ //补丁包管理
      //     path: 'patch',
      //     name: 'patch-sub',
      //     txtName: '补丁包管理',
      //     component: {
      //       template: '<zh-patch />'
      //     },
      //   }, ]
      // },

      // { //回收站
      //     path: 'recy',
      //     name: 'recy',
      //     txtName: '回收站',
      //     component: {
      //         template: '<zh-menu-sub-nav />'
      //     },
      //     children: [{ //回收站管理
      //         path: 'recycleBin',
      //         name: 'recycleBin',
      //         txtName: '补丁包管理',
      //         component: {
      //             template: '<zh-recycleBin />'
      //         },
      //     }, ]
      // },

      { //回收站
        path: 'recy',
        name: 'recy',
        txtName: '回收站',
        authName: 'recy',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //回收站管理
          path: 'recycleBin',
          name: 'recycleBin',
          txtName: '回收站管理',
          component: {
            template: '<zh-recycleBin />'
          },
        }, ]
      },
      // {    //系统注册
      //          path: 'reg',
      //          name: 're',
      //          authName:'reg',
      //      txtName:'系统注册',
      //          component: {
      //              template : '<zh-menu-sub-nav />'
      //  },
      //  children:[
      //      {   //注册管理
      //              path: 'register',
      //          name: 'register',
      //          txtName:'注册管理',
      //          component: {
      //              template : '<zh-register />'
      //          },
      //      },
      //  ]
      // },
      { //手机邮箱
        path: 'email',
        name: 'email',
        authName: 'email',
        txtName: '手机邮箱',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ //手机邮箱配置
          path: 'mobile-e-mail',
          name: 'mobile-e-mail',
          txtName: '手机邮箱配置',
          component: {
            template: '<zh-mobile-e-mail />'
          },
        }, ]
      },
      { // 应用设置
        path: 'appset',
        name: 'appset',
        authName: 'appset',
        txtName: '应用设置',
        component: {
          template: '<zh-menu-sub-nav />'
        },
        children: [{ // 应用列表
            path: 'app-list',
            name: 'app-list',
            txtName: '应用列表',
            component: {
              template: '<zh-app-list />'
            },
          },
          { // 应用列表
            path: 'process',
            name: 'process',
            txtName: '应用进程',
            component: {
              template: '<zh-process />'
            },
          }
        ]
      },
    ]
  },

]
